package com.blr.controller;

import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class DemoController {

    @GetMapping("/demo")
    //@CrossOrigin(origins = {"http://127.0.0.1:63342"}) //用来解决允许跨域访问注解
    public String demo(){
        return "demo ok";
    }
}
